package cn.kgc.vue.service;

import cn.kgc.vue.commons.QueryCondition;
import cn.kgc.vue.commons.ResponseResult;
import cn.kgc.vue.entity.Template;
import cn.kgc.vue.vo.TemplateVO;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
* @author 11839
* @description 针对表【sys_template】的数据库操作Service
* @createDate 2024-06-28 15:23:44
*/
public interface TemplateService extends IService<Template> {

    ResponseResult resourcesPage(QueryCondition<Template> queryCondition);

    ResponseResult upload(MultipartFile file);

    ResponseResult addResourcesInfo(TemplateVO templateVO);

    ResponseResult deleteResources(String id);

    ResponseResult download(HttpServletResponse response, String uuid);
}
